import request from "./comm.js";

// 次卡消费记录
export function restUserCardcardTimeList(params) {
	return request({
		url: "/rest/user/card/cardTimeList",
		method: "GET",
		data: params
	});
}

// 充值卡充值记录
export function restUserCardRecharge(params) {
	return request({
		url: "/rest/user/card/recharge",
		method: "GET",
		data: params
	});
}

// 充值卡消费记录
export function restUserCardRechargeLog(params) {
	return request({
		url: "/rest/user/card/recharge/log",
		method: "GET",
		data: params
	});
}


// 效果跟进
export function restUserResultFollow(params) {
	return request({
		url: "/rest/user/resultFollow",
		method: "GET",
		data: params
	});
}

// 用户分享
export function restUserShare(params) {
	return request({
		url: "/rest/user/share",
		method: "GET",
		data: params
	});
}

// 用户分享 保存
export function restUserShareAdd(params) {
	return request({
		url: "/rest/user/share",
		method: "POST",
		data: params
	});
}

// 用户分享详情
export function restUserShareDetail(id, params) {
	return request({
		url: "/rest/user/share/detail/"+id,
		method: "GET",
		data: params
	});
}